from django.conf.urls import url
from app01.views import *
urlpatterns = [
    url(r'^index*/$', index),
    # url(r'^index/$', index),
    url(r'^devops/', devops, name='mydevops'),
    url(r'^testget/', testget),
    url(r'^testpost/', testpost),
    url(r'^ad/', ad),
    # url(r'^ad.html/', ad),
    url(r'^ad/', ad1),
    # url(r'testurl',testurl),
    # 普通正则写法
    # url(r'^testurl/(\d{4})/(\d{2})/(\d{2})', testurl),
    # 分组路由正则写法
    url(r'^testurl/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})', testurl),
]
